package xcc.design.demo.builder;

import org.springframework.stereotype.Service;

/**
 * Description： TODO
 * Date： 2020/6/8 17:27
 *
 * @author changchun.xue
 */
@Service("yangYong")
public class YangYongSwimBuilder extends SwimBuilder {

    @Override
    protected void shenshou() {
        System.out.println("仰泳--》伸手");
    }

    @Override
    protected void huxi() {
        System.out.println("仰泳--》呼吸");
    }

    @Override
    protected void dengtui() {
        System.out.println("仰泳--》蹬腿");
    }

    @Override
    protected void beginSwim() {
        huxi();
        shenshou();
    }
}
